// token封装
const key = 'hm-token-vant-mobile'
export const setToken = (newToken) => {
  localStorage.setItem(key, newToken)
}

// export const setToken = newToken => localStorage.setItem(key, newToken)

export const getToken = () => {
  return localStorage.getItem(key)
}
export const delToken = () => {
  localStorage.removeItem(key)
}
